import glob
import os
import pandas as pd


def merge_excel_files(input_files, output_file):
    merged_data = pd.DataFrame()
    for file in input_files:
        data = pd.read_excel(file, dtype=object)
        if '是否已处理' in data.columns:
            data = data.drop('是否已处理', axis=1)
        merged_data = merged_data._append(data, ignore_index=True)
    merged_data['平台'] = '天猫'
    merged_data.to_excel(output_file, index=False)
